package inherit.child;

/**
 * @author yuisama
 * @date 2022/09/13 19:34
 **/
public class Package2 {
    public static void main(String[] args) {
        Package1 p1 = new Package1();
        p1.name = "铭哥";
        p1.age = 18;
        System.out.println(p1.name);
        System.out.println(p1.age);
    }
}